.class public Ldgb/c;
.super Ljava/lang/Object;
.source "SourceFile"


# instance fields
.field private a:Landroid/content/pm/PackageInfo;

.field private b:Landroid/content/pm/PackageManager;

.field protected c:Ljava/lang/String;

.field protected d:Ljava/lang/String;

.field protected e:Ljava/lang/String;

.field protected f:Ljava/lang/String;

.field protected g:Ljava/lang/String;

.field protected h:Ljava/lang/String;

.field protected i:Ljava/lang/String;

.field protected j:Ljava/lang/String;

.field protected k:Ljava/lang/String;

.field protected l:Ljava/lang/String;

.field protected m:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
    .locals 0

    .line 19
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 20
    iput-object p2, p0, Ldgb/c;->i:Ljava/lang/String;

    .line 21
    invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->j:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Ldgb/c;)V
    .locals 1

    .line 22
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 23
    iget-object v0, p1, Ldgb/c;->c:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->c:Ljava/lang/String;

    .line 24
    iget-object v0, p1, Ldgb/c;->d:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->d:Ljava/lang/String;

    .line 25
    iget-object v0, p1, Ldgb/c;->e:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->e:Ljava/lang/String;

    .line 26
    iget-object v0, p1, Ldgb/c;->f:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->f:Ljava/lang/String;

    .line 27
    iget-object v0, p1, Ldgb/c;->g:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->g:Ljava/lang/String;

    .line 28
    iget-object v0, p1, Ldgb/c;->h:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->h:Ljava/lang/String;

    .line 29
    iget-object v0, p1, Ldgb/c;->i:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->i:Ljava/lang/String;

    .line 30
    iget-object v0, p1, Ldgb/c;->j:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->j:Ljava/lang/String;

    .line 31
    iget-object v0, p1, Ldgb/c;->k:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->k:Ljava/lang/String;

    .line 32
    iget-object v0, p1, Ldgb/c;->l:Ljava/lang/String;

    iput-object v0, p0, Ldgb/c;->l:Ljava/lang/String;

    .line 33
    iget-object p1, p1, Ldgb/c;->m:Ljava/lang/String;

    iput-object p1, p0, Ldgb/c;->m:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Landroid/content/Context;Ljava/lang/String;)V
    .locals 2

    const-string v0, "stat.BaseAppInfo"

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Ldgb/c;->c:Ljava/lang/String;

    .line 3
    iput-object p3, p0, Ldgb/c;->i:Ljava/lang/String;

    .line 4
    invoke-virtual {p2}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->j:Ljava/lang/String;

    .line 5
    invoke-virtual {p2}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->b:Landroid/content/pm/PackageManager;

    .line 6
    :try_start_0
    iget-object p3, p0, Ldgb/c;->c:Ljava/lang/String;

    const/4 v1, 0x0

    invoke-virtual {p1, p3, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->a:Landroid/content/pm/PackageInfo;

    .line 7
    invoke-direct {p0}, Ldgb/c;->l()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->d:Ljava/lang/String;

    .line 8
    iget-object p1, p0, Ldgb/c;->c:Ljava/lang/String;

    invoke-static {p2, p1}, Ldgb/y;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->e:Ljava/lang/String;

    .line 9
    iget-object p1, p0, Ldgb/c;->c:Ljava/lang/String;

    invoke-static {p2, p1}, Ldgb/y;->b(Landroid/content/Context;Ljava/lang/String;)I

    move-result p1

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->f:Ljava/lang/String;

    .line 10
    iget-object p1, p0, Ldgb/c;->a:Landroid/content/pm/PackageInfo;

    const-string p3, "firstInstallTime"

    invoke-static {p1, p3}, Ldgb/y;->a(Landroid/content/pm/PackageInfo;Ljava/lang/String;)Ljava/lang/Long;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->g:Ljava/lang/String;

    .line 11
    iget-object p1, p0, Ldgb/c;->a:Landroid/content/pm/PackageInfo;

    const-string p3, "lastUpdateTime"

    invoke-static {p1, p3}, Ldgb/y;->a(Landroid/content/pm/PackageInfo;Ljava/lang/String;)Ljava/lang/Long;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->h:Ljava/lang/String;

    .line 12
    iget-object p1, p0, Ldgb/c;->c:Ljava/lang/String;

    invoke-direct {p0, p1}, Ldgb/c;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->k:Ljava/lang/String;

    .line 13
    iget-object p1, p0, Ldgb/c;->c:Ljava/lang/String;

    invoke-static {p2, p1}, Ldgb/y;->c(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->l:Ljava/lang/String;

    .line 14
    iget-object p1, p0, Ldgb/c;->c:Ljava/lang/String;

    invoke-direct {p0, p1}, Ldgb/c;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->m:Ljava/lang/String;
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Error; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 15
    sget-boolean p2, Ldgb/z;->d:Z

    if-eqz p2, :cond_0

    const-string p2, "NDK Error"

    .line 16
    invoke-static {v0, p2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0

    :catch_1
    move-exception p1

    .line 17
    sget-boolean p2, Ldgb/z;->d:Z

    if-eqz p2, :cond_0

    const-string p2, "NameNotFoundException!"

    .line 18
    invoke-static {v0, p2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    :cond_0
    :goto_0
    return-void
.end method

.method private a(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->b:Landroid/content/pm/PackageManager;

    invoke-virtual {v0, p1}, Landroid/content/pm/PackageManager;->getInstallerPackageName(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method private b(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    .line 1
    iget-object p1, p0, Ldgb/c;->a:Landroid/content/pm/PackageInfo;

    iget-object p1, p1, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    iget p1, p1, Landroid/content/pm/ApplicationInfo;->flags:I

    const/4 v0, 0x1

    and-int/2addr p1, v0

    if-ne p1, v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 2
    :goto_0
    invoke-static {v0}, Ljava/lang/String;->valueOf(Z)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method private l()Ljava/lang/String;
    .locals 2

    .line 1
    iget-object v0, p0, Ldgb/c;->a:Landroid/content/pm/PackageInfo;

    iget-object v0, v0, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    iget-object v1, p0, Ldgb/c;->b:Landroid/content/pm/PackageManager;

    invoke-virtual {v0, v1}, Landroid/content/pm/ApplicationInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;

    move-result-object v0

    .line 2
    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public a()Ljava/lang/String;
    .locals 1

    .line 2
    iget-object v0, p0, Ldgb/c;->c:Ljava/lang/String;

    return-object v0
.end method

.method public a(J)V
    .locals 0

    .line 3
    invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Ldgb/c;->h:Ljava/lang/String;

    return-void
.end method

.method public b()Ljava/lang/String;
    .locals 1

    .line 3
    iget-object v0, p0, Ldgb/c;->d:Ljava/lang/String;

    return-object v0
.end method

.method public c()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->e:Ljava/lang/String;

    return-object v0
.end method

.method public d()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->f:Ljava/lang/String;

    return-object v0
.end method

.method public e()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->g:Ljava/lang/String;

    return-object v0
.end method

.method public f()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->h:Ljava/lang/String;

    return-object v0
.end method

.method public g()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->i:Ljava/lang/String;

    return-object v0
.end method

.method public h()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->j:Ljava/lang/String;

    return-object v0
.end method

.method public i()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->k:Ljava/lang/String;

    return-object v0
.end method

.method public j()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->l:Ljava/lang/String;

    return-object v0
.end method

.method public k()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Ldgb/c;->m:Ljava/lang/String;

    return-object v0
.end method
